//
//  YZMResultView.h
//  YZMicroStock
//
//  Created by wangminhong on 16/4/5.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(int, YZM_RESULT_STATUS) {
    
    YZM_RESULT_STATUS_FOR_NORMAL = 1,
    YZM_RESULT_STATUS_FOR_LOADING,
    YZM_RESULT_STATUS_FOR_NO_WIFI,
    YZM_RESULT_STATUS_FOR_ABNORMAL,
    YZM_RESULT_STATUS_FOR_NO_DATA,
};

@interface YZMResultView : UIView

@property (nonatomic, assign) YZM_RESULT_STATUS status;
@property (nonatomic, strong) void (^retryAction)();

- (void)syncStatusWithError:(NSError *)error;

@end
